package com.neuedu.mapper;

import com.neuedu.entity.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserMapper {

    //定义接口方法
    //编写mapper.xml
    //
    List<User> selectAll();
    int insert(User user);
    int update(User user);
    int delete(Integer id);
}